package com.bbm.communitysystem.domain.dto.post;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author xieling
 * @version 1.0
 */
@Data
@Schema(description = "帖子实体类")
public class PostDto {

    @Schema(description = "帖子id")
    private Integer id;

    @Schema(description = "帖子正文内容")
    private String content;

    @Schema(description = "帖子分类类型")
    private String type;

    @Schema(description = "状态: 0-删除 1-正常 2-未发布")
    private Integer status;

    @Schema(description = "点赞数量")
    private Integer likes;

    @Schema(description = "浏览数量")
    private Integer interest;

    @Schema(description = "评论数量")
    private Integer comment;

    @Schema(description = "转发数量")
    private Integer forward;

    @Schema(description = "文件存储ID")
    private String ossId;

    @Schema(description = "地理位置地址")
    private String address;

    @Schema(description = "纬度坐标")
    private Integer latitude;

    @Schema(description = "最后更新人ID")
    private Integer updateBy;

    @Schema(description = "分页页码")
    private Integer page;

    @Schema(description = "每页数量")
    private Integer size;
}